﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using MultiTouch.Behaviors.Silverlight;

namespace SilverlightMultiTouch
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();

            //this.Loaded += (s, a) =>
            //    {
            //        //Initialize the items
            //        System.Windows.Interactivity.Interaction.GetBehaviors(video).OfType<MultiTouchManipulationBehavior>().First().Move(new Point(300, 300), -20, 80);
            //        System.Windows.Interactivity.Interaction.GetBehaviors(video).OfType<MultiTouchManipulationBehavior>().First().BringToFront();
            //        System.Windows.Interactivity.Interaction.GetBehaviors(image1).OfType<MultiTouchManipulationBehavior>().First().Move(new Point(150, 250), 45, 100);
            //        System.Windows.Interactivity.Interaction.GetBehaviors(image2).OfType<MultiTouchManipulationBehavior>().First().Move(new Point(400, 300), -45, 150);
            //    };
        }
    }
}
